package com.erp.erp_entitys.LogDB;

import java.io.Serializable;
import java.text.SimpleDateFormat;
import java.util.Date;

//日志实体类
public class LogDBEntity implements Serializable {
    private String inTime;
    private String userName;
    private String type;
    private String tableName;
    private String sql;
    private String params;
    private String endTime;
    SimpleDateFormat sdf=new SimpleDateFormat("yyyy-MM-dd HH:");
    public LogDBEntity( String userName,String type,   String params ) {
        this.inTime = sdf.format(new Date());
        this.userName = userName;
        this.type =type;
        this.tableName = "云枢接口";
        this.sql = "";
        this.params = params;
        this.endTime = this.inTime;
    }

    public LogDBEntity( ) {

    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getInTime() {
        return inTime;
    }

    public void setInTime(String inTime) {
        this.inTime = inTime;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public String getSql() {
        return sql;
    }

    public void setSql(String sql) {
        this.sql = sql;
    }

    public String getParams() {
        return params;
    }

    public void setParams(String params) {
        this.params = params;
    }
}